//
//  CSDateManager.m
//  classroom
//
//  Created by Macx on 16/8/1.
//  Copyright © 2016年 LiuZhuo. All rights reserved.
//

#import "CSDateManager.h"

@implementation CSDateManager
+ (instancetype)shareInstance {
    static CSDateManager *_dateManager = nil;
    static dispatch_once_t oncePredicate;
    dispatch_once(&oncePredicate, ^{
        _dateManager = [[self alloc] init];
    });
    return _dateManager;
}

- (NSArray *)weekDict {
    if (!_weekDict) {
        NSString *path = [[NSBundle mainBundle] pathForResource:@"date" ofType:@"plist"];
        _weekDict = [[NSArray alloc] initWithContentsOfFile:path];
    }
    return _weekDict;
}
@end
